home *** CD-ROM | disk | FTP | other *** search
- Frequently Asked Questions (FAQS);faqs.065
-
-
-
- Or, you can send a note to mail-server@nluug.nl with a body containing the
- following:
-
- send mail/mh/papers-ps/tutorial.ps.Z
-
- [9.92]
-
-
- Subject: How should I report bugs?
- From: Intro-6
-
- Mail them to Bug-MH@ics.uci.edu and be sure to include the output of
- the -help option as well as what hardware and operating system you
- are using.
-
-
- Subject: How can I convert from my mailer to MH?
- From: Intro-7
-
- If you use one of a mail agent like 'mail', 'mailx', 'elm' or
- 'mush', converting to MH is easy. When you run the 'inc' command,
- it reads all new messages from the system mailbox into your 'inbox'
- folder. Those mail agents also have separate files or "folders"
- that hold messages in the same format as the system mailbox. You
- can read them with the 'inc -file' command. For example, to read
- the messages from your 'mbox' mail file into your MH 'inbox' folder,
- you'd type:
-
- % cd
- % cp mbox mbox.backup
- % inc -file mbox
-
- If you see the usual "Incorporating new mail into inbox..." message
- and a scan listing, the messages probably were converted. Read some
- or all of them (with the 'show' command) and be sure. The 'inc'
- won't remove your mbox unless you use '-truncate'.
-
- Section D.4 (C.4) of the MH book lists two scripts to convert mail
- files to MH folders: babyl2mh to convert from rmail's babyl format;
- vmsmail2mh to convert from VMS's mail (see "What references exist
- for MH" to see where the book's examples can be ftped from).
- --Jerry Peek <jerry@ora.com>
-
- Vivek Khera <khera@cs.duke.edu> rewrote this in Perl since the
- original script doesn't work for some people.
-
- #!/usr/gnu/bin/perl
- # incorporate an RMAIL babyl file into an MH folder
- #
- # usage: babyl2mh +folder babyl-file
- #
- # V. Khera <khera@cs.duke.edu> 17-JUL-1991
-
- # where to find rcvstore
- $rcvstore = "/usr/local/lib/mh/rcvstore";
-
- #
- # pull out command line args
- #
- die "usage: babyl2mh +folder babyl-file\n" unless @ARGV == 2;
-
- $folder = shift;
- # make sure folder name starts with a "+"
- (substr($folder,0,1) eq "+") || (substr($folder,0,0) = "+");
- $bfname = shift;
-
- print "Incorporating RMAIL file $bfname into MH folder $folder\n";
-
- #
- # read in babyl file.
- #
- $/ = "\037"; # this separates the records in a babyl file
- $* = 1; # records are multi-lines
-
- open(BABYL,$bfname) || die "Couldn't open $bfname\n";
-
- $_ = <BABYL>; # discard header.
-
- $msgnum = 0;
-
- while (<BABYL>) {
- chop; # get rid of delimeter
- s/\f(.|\n)*\*\*\* EOOH \*\*\*\n//; # remove duplicate header information
- open(RCVSTORE,"|" . $rcvstore . " $folder");
- print RCVSTORE $_;
- $msgnum++;
- print "Message $msgnum done.\n";
- }
-
- Juergen Nickelsen <nickel@cs.tu-berlin.de> provides yet another
- short script. He says,
-
- "You can remove the second to last second line ("> $input"), so
- that the script doesn't zero out your RMAIL file.
-
- "Another alternative is to replace this line with "inc -file $tmpmbox
- $folder && > $input", so that the RMAIL is only zeroed if inc
- successfully incorporated the mail. Finally one could add a switch
- -z, so that the RMAIL file is only zeroed if the switch is given.
-
- #!/bin/sh
- # Usage: inco [from [folder]]
- # "from" defaults to $HOME/Mail/outbound, "folder" to +inbox.
-
- lispfile=/tmp/inco.$$.el
- input=${1-$HOME/Mail/outbound}
- tmpmbox=/tmp/inc.$$.mbox
- folder=${2-+inbox}
-
- if [ $# -ge 3 ]; then
- echo Usage: `basename $0` [ from [ folder ]]
- exit 2
- fi
-
- trap "rm -f $lispfile $tmpmbox ; exit 1" 1 2 15
-
- touch $tmpmbox
- chmod 600 $tmpmbox
-
- echo '(rmail-input "'$input'")
- (rmail-last-message)
- (setq last (rmail-what-message))
- (rmail-show-message 1)
- (while (not (equal (rmail-what-message) last))
- (rmail-output "'$tmpmbox'")
- (rmail-delete-forward nil))
- (rmail-output "'$tmpmbox'")
- (kill-buffer (current-buffer))
- ' > $lispfile
-
- emacs -batch -l $lispfile
- inc -file $tmpmbox $folder
-
- > $input
- rm -f $lispfile $tmpmbox
-
- Use the following to convert a Babyl format file to Unix mail format.
- --Barry A. Warsaw <warsaw@nlm.nih.gov>.
- durer.cme.nist.gov [129.6.32.4] pub/gnu/rmailtovm.el
-
- See also MH book appendix D (appendix C).
-
-
- Subject: What machines does MH run on?
- From: Building MH-10
-
- If you have a computer running UNIX, you can probably run MH.
- --Jerry Peek <jerry@ora.com>
-
-
- Subject: ! How do I build MH?
- From: Building MH-11
-
- By carefully reading the READ-ME in the root of the source
- hierarchy, one should not have any trouble building MH.
-
- If building MH on IBM's AIX, obtain a set of patches and
- configuration file from Bill Wohler <wohler@sap-ag.de>. Version
- 6.8 of MH, available soon, will compile on AIX out of
- the box. [12.92]
-
-
- Subject: ! What options should I use?
- From: Building MH-12
-
- BERK: Do NOT include the BERK option (in versions 6.7 or later)!
- BERK breaks the mh-format functions that take apart address lines,
- for example mbox, from, and friendly. This would really put a crimp
- on my replcomps file.
-
- LOCKF: if you have NFS, you need to lock your mailbox with lockf()
- so the lock will be honored by all machines on the local network.
- If you have the lockf() system call, include LOCKF.
-
- JQ Johnson <jqj@duff.uoregon.edu> makes the point that one should
- use this option carefully since it requires a roboust lockf() call.
- For example, this option caused serious problems on his SunOS 4.1.1.
- He suggested using LOK_BELL instead, and adding "lockstyle: 1" to
- mtstailor.
-
- ATZ: makes your timezones print like "EST" instead of "-0500". Much
- prettier.
-
- --Stephen Gildea <gildea@expo.lcs.mit.edu>
-
- However, Tony Landells <ahl@technix.oz.au> replies: "Yes; very
- pretty. How unfortunate that timezone names are so ambiguous, so
- that EST can be interpreted, at a minimum, as (American) Eastern
- Standard Time, (Australian) Eastern Standard Time, or (Australian)
- Eastern Summer Time (and yes, I think it's dumb having the same
- acronym for both normal and Summer time, but that's a different
- problem). While the numeric timezones may not look as nice, they
- are, at least, reasonably unambiguous. I would urge anyone who ever
- intends/hopes/expects to use e-mail outside the U.S. to NOT use ATZ
- (sorry Stephen)."
-
- At any rate, the conf/examples directory has been updated and
- contains many examples show you which options are required on your
- platform and which are optional (in the upcoming version MH 6.8). At
- any rate, it is recommended that you examine the options in the
- example configuration files, and read about them in READ-ME.
-
- RPATHS: a side-effect is that slocal writes messages to your system
- maildrop without the MMDF C-A's that separate messages, so your BSD
- tools like from work. [12.92]
-
-
- Subject: Fixing "post: problem initializing server; [BHST] no servers available"
- From: Building MH-13
-
- The error message itself is essentially correct. However, what this
- really means is: MH's post cannot connect to a running sendmail over
- an SMTP port (MH configured with SMTP and SENDMTS).
-
- The potential problems:
-
- 1. Your local sendmail daemon is dying or not running for some
- reason.
-
- 2. You use BIND and your local nameserver is not responding.
-
- 3. Your mtstailor has its "servers:" pointing to a non-existant
- machine or a machine which is a) not reachable or b) not running the
- sendmail daemon. --Peter Marvit <marvit@hplabs.hpl.hp.com>
-
-
- Subject: Where can I get POP3?
- From: Building MH-14
-
- MH6.7 (and earlier versions too) include a server for version 3 of POP.
-
-
- Subject: ! What do I do if scan shows the wrong date?
- From: Building MH-15
-
- Try adding the following lines to "lexedit.sed" in the zotnet
- subdirectory:
-
- /^# define YYTYPE unsigned short/c\
- # define YYTYPE int
- /^unsigned char yymatch\[\] = {/c\
- char yymatch[] = {
- /^unsigned char yyextra\[\] = {/c\
- char yyextra[] = {
-
- On some systems, YYTYPE is actually just a short and so the first
- expression should be modified accordingly. --Todd Kaehler
- <kaehler@decvax.dec.com>
-
- This patch will be included in the upcoming MH 6.8 version. [12.92]
-
-
- Subject: Why slocal writes messages to system maildrop that from(1) can't read.
- From: Building MH-16
-
- Around line 500 or so of uip/slocal.c, change the #ifndef RPATHS to #ifdef
- RPATHS. With this fix, which only works if you use RPATHS, the ^A's will
- disappear. --Doug Acker <acker@wg2.waii.com>
-
- This is fixed in the upcoming version MH 6.8. [12.92]
-
-
- Subject: Why does repl add a "Re:" to a message that already has one?
- From: Building MH-17
-
- I carefully reconfigured and rebuilt MH from scratch and the problem
- went away. --Larry McVoy <lm@slovax.Eng.Sun.COM>
-
-
- Subject: Does MH support IMAP2 (RFC 1064)?
- From: Building MH-18
-
- No. MH only supports retrieving mail using POP3. POP3 is on the
- "standards track"--it is now an elective Internet Draft Standard
- (see RFC1280 for more details). At this point, IMAP[23] are
- "experimental, limited use" protocols; it is unlikely that MH will
- support them. --John Romine <jromine@ics.uci.edu>
-
-
- Subject: Where can I read about slocal and the format of the .maildelivery file?
- From: Using MH-20
-
- In the distribution, this information is provided in the mhook man
- page. Wasn't this obvious?
-
- One can actually specify slocal or .maildelivery with IBM's AIX man.
-
- Here is brief example of a .maildelivery file that stores messages
- to babble in a folder and the system mailbox, stores mh-users in a
- folder but not the system mailbox, and puts the rest in the system
- mailbox.
-
- to mh-users | A "/usr/local/lib/mh/rcvstore -create +lists/mh-users"
- cc mh-users | A "/usr/local/lib/mh/rcvstore -create +lists/mh-users"
- to babble | R "/usr/local/lib/mh/rcvstore -create +lists/babble"
- cc babble | R "/usr/local/lib/mh/rcvstore -create +lists/babble"
- default - > ? /usr/spool/mail/wohler
-
- In addition, the following may be used to automatically send
- replies while on vacation. See vacation(1) to see how to set up
- vacation itself. The sed script removes the ">" that slocal added
- so that vacation knows where to send the reply.
-
- to wohler | R "sed -e '1s/>From /From /' | /usr/ucb/vacation wohler"
- cc wohler | R "sed -e '1s/>From /From /' | /usr/ucb/vacation wohler"
-
- Your .forward file may look like (quotes necessary):
-
- "| /usr/local/lib/mh/slocal -user your_login"
-
- In some implentations, the "-user your_login" is not needed. If
- not, manually running slocal with the flag will produce an error.
-
- See also MH book chapter 11.
-
- Alternatives to slocal include deliver, procmail, and mailagent.
- Archie can help you find where they are kept.
-
-
- Subject: How do I include messages in repl with or without ">"?
- From: Using MH-21
-
- When making a reply, specify a filter file on the command line:
-
- repl -filter repl.format
-
- This filter file must be in your MH mail directory (usually "Mail",
- in your home directory). Here are a couple of example repl.format
- files:
-
- overflowtext="",overflowoffset=0
- message-id:nocomponent,formatfield=\
- "In message %{text}you write:"
- body:component=">",overflowtext=">",overflowoffset=0
-
- or
-
- overflowtext="",overflowoffset=0
- date:component="Your message dated",formatfield=\
- "%<(nodate{text})%{text}%|%(pretty{text})%>"
- body:component=">",overflowtext=">",overflowoffset=0
-
- Setting overflowoffset to 0 keeps MH from doing anything to
- extra-long lines in the headers. In the body, however, this
- behavior is overridden so that long lines are automatically broken
- and a ">" is inserted before every line. You could put almost
- whatever you want between those quotes, although the "standard" ">"
- makes it easier to read notes that have been included several times.
- The examples differ with the descriptive text that is inserted
- before the included body.
-
- It is suggested not to use the "prompter" editor in this case, since
- it is likely that you'll not want to use all of the included
- message. Indeed, it is proper etiquette to edit out all unnecessary
- include verbiage so readers don't have to wade through the morass to
- read your pearls of wisdom.
-
- Also note that this might not work in versions prior to 6.7.
-
- --Alan Thew <qq11@liv.ac.uk>, Mike Schwager <schwager@cs.uiuc.edu>,
- James T Perkins <jamesp@metolius.wr.tek.com>
-
- See also MH book sections 6.7.4, 6.7.5, 9.4.1 (9.3.1).
-
-
- Subject: How can I eliminate duplicate copies of letters to myself?
- From: Using MH-22
-
- Add these two lines to your MH profile file:
-
- Alternate-Mailboxes: user@host1, user@host2, ...
- repl: -nocc me
-
- To get one copy, you can either:
-
- - Take out the "-nocc me"... then you'll get exactly one copy of
- your replies (assuming all your addresses are listed in
- Alternate-Mailboxes), or
-
- - Add an "Fcc: foldername" to the headers of messages you send.
- That will drop a copy of the message in the folder "foldername".
- You can do this for *all* MH messages you send (not just with
- repl) by putting an "Fcc:" entry in your personal copy of the
- files "components", "replcomps", and "forwcomps" in your MH
- directory. (If you make a "distcomps" file, it needs
- "Resent-Fcc:".) For more info, see the man pages comp(1),
- repl(1), forw(1), dist(1) and mh-mail(5). --Jerry Peek <jerry@ora.com>
-
- The Alternate-Mailboxes also tells scan which messages are really
- from you so that it can place the recipient in the scan line instead
- of the sender. --Bill Wohler
-
- See also MH book sections 6.7.2, 8.6.
-
- This is also a convenient way to AVOID automatically cc-ing a
- mailing list when replying to a person who sent the message to the
- mailing-list, by listing the name of that mailing list in your
- alternate mailboxes. --Alec Wolman <wolman@crl.dec.com>
-
-
- Subject: How would one go about reading Usenet with MH?
- From: Using MH-23
-
- Although news readers are better, if one really wants to use
- MH, bbc will do the job. For example, "bbc comp.mail.mh" reads this
- newsgroup. To enable bbc, you have to specify "bboards" when you
- build MH. --Stephen Gildea <gildea@expo.lcs.mit.edu>
-
- You can save articles in the news readers for later perusal with MH.
-
- First, create a symbolic link from your mail directory (ie. usenet) to
- your news directory (ie. "ln -s ~/News ~/Mail/usenet"). You can then
- treat your news directory as a mail folder. Thus, to select a news
- group, use "folder +usenet/comp/mail/mh".
-
- To set the default save location correctly in rn, use:
-
- rn -M -/
-
- or in your nn presentation sequence:
-
- news.announce. +$F/$N
- comp.mail.mh +
- .
- .
-
- See also MH book section 8.7.
-
-
- Subject: Can I append MH messages (ie. +inbox/1) to a UNIX mailbox format file?
- From: Using MH-24
-
- #! /bin/sh
- # packmbox - pack an MH folder back into a UUCP-style mbox
- #
- # Defaults:
- # `+folder' defaults to current folder
- # `msgs' defaults to all
- #
- # Context:
- # Current-Folder
- #
- # for simplicity (and speed) we don't parse command-line args (much)
- case $#/$1 in
- 1/-h*) echo "syntax: packmbox [+folder] [msgs] [-help]" 1>&2; exit 0;;
- esac
-
- format="%(msg) From \
- %<{return-path}%(putstr)%|\
- %<(nonnull(mbox{from}))%(putstr)%|nobody%>@\
- %<(nonnull(host{from}))%(putstr)%|nowhere%>%> \
- %(day{date}) %(month{date}) %2(mday{date}) \
- %02(hour{date}):%02(min{date}):%02(sec{date}) \
- %(void(year{date}))%<(gt 100)%4(putnum)%|19%02(putnum)%>"
-
- trap 'rm -f /tmp/packm$$; exit 1' 1 2 3 15
-
- scan -noclear -noheader -noreverse -width 256 \
- -format "${format}" $* >/tmp/packm$$
- # tricky -- you must do this "cd" after scan has updated the context
- cd `mhpath`
-
- exec </tmp/packm$$
- rm -f /tmp/packm$$
- while read m f
- do
- echo "$f"
- sed -e '/^From /s/^/>/' < $m
- echo ""
- done
- exit
-
-
- Subject: ! How can I include my signature?
- From: Using MH-25
-
- There are several ways.
-
- 1) The MH way.
-
- 1a) In your Mail directory, create files that
- include your signature into the format of the message.
-
- ~/Mail/components:
- To:
- cc:
- Subject:
- --------
-
- --
- Eric Ziegast ziegast@uunet.uu.net
- UUNET Technologies uunet!ziegast
-
- ~/Mail/replcomps
- body:component="> ",compwidth=2
- :--
- :Eric Ziegast ziegast@uunet.uu.net
- :UUNET Technologies uunet!ziegast
-
- To use the replcomps file, add the following to your ~/.mh_profile:
-
- repl: -filter replfmt
-
- When comp is used, your signature is already there along with my
- headers. When repl is used, the mhl program takes the body of
- the letter you're replying to, prepends '> ' to each line and
- then adds your signature at the end (available after version 6.7).
-
- 1b) Create an "editor" which can be called from whatnow to add the
- signature when desired or create a frontend to post (use the
- .mh_profile line "postproc: postproc" to call it) that always
- appends the .signature file before calling post to mail the
- message. David J. Fiander <david@golem.uucp>, David A.
- Truesdell <truesdel@sun418.nas.nasa.gov> and Tom Wilmore
- <sastjw@unx.sas.com> have sample scripts to do these.
-
- 1c) See page 198 in the MH book.
-
- 2) Using your editor. If you use vi, you can use something like:
-
- map S :r ~/.signature
-
- to load your signature out of .signature every time you
- hit 'S'.
-
- 3) Use your windowing system. xterm, for example, can provide key
- and button mappings for the utterly lazy.
-
- 4) And if you use Emacs with mh-e, C-c C-s will append the signature.
-
- --Eric W. Ziegast <ziegast@uunet.uu.net> & Hardy Mayer
- <hardy@golem.ps.uci.edu>
-
- Tired of the same old signature? Want different signatures for
- different newsgroups? Here's a program to help you out.
-
- The way it works is to have .signature be a named pipe, so if you
- don't have named pipes, just say 'n'.
-
- The sigrand program then feeds stuff down the pipe everytime someone
- wants to read it. That way it works for more than just news, but
- for anything that wants to read your .signature, like a mailer.
-
- You have your choice of three kinds of signatures:
-
- 1) random (short) fortune from "fortune -s"; you get these if
- you don't have a global sig file.
- 2) random fortune from ~/News/SIGNATURES [global sig file]
- 3) random fortune form ~/News/(newsgroup)/SIGNATURES [local sig files]
-
- Ask Tom Christiansen <tchrist@convex.com> for more details.
-
- Section 13.13 of the MH book lists mysend, a sendproc script to
- process a message after "What now? send" (see "What references exist
- for MH" to see where the book's examples can be ftped from).
- --Jerry Peek <jerry@ora.com> [9.92]
-
- See also MH book sections 8.9.6, 13.2 (12.2).
-
-
- Subject: What to do with "Problems with edit - draft removed" messages.
- From: Using MH-26
-
- If your users are using an AT&T version of "vi", it's exiting with
- non-zero status (supposedly a count of the "errors" during the edit).
- Move "vi" to "broken_vi" and put it its place:
-
- #! /bin/sh
- /usr/ucb/broken_vi $*
- exit 0
-
- Then complain to your vendor that "vi" is broken, and they should
- fix it. --John Romine <jromine@ics.uci.edu>
-
-
- Subject: How do I call my editor with arguments?
- From: Using MH-27
-
- Set your editor (in .mh_profile) to the following shellscript:
-
- #/bin/sh
- <youreditor> <yourargs> $*
- exit 0
-
- --John Romine <jromine@ics.uci.edu>
-
- You might find it useful to make <youreditor> $EDITOR, or to use
- different arguments depending on your EDITOR environment variable.
- --Ray Nickson
-
-
- Subject: How do I debug my .maildelivery file?
- From: Using MH-28
-
- Put a message into a file and call slocal directly on it.
-
- slocal -user $USER [-verbose] [-debug] < test-msg
-
- Use the verbose or debug flags as necessary.
-
- See also MH book section 11.11.
-
-
- Subject: How can I digestify the messages in a folder for mail to another user?
- From: Using MH-29
-
- How about:
-
- forw [-digest tmp] [-form forwcomps] [-filter mhl.digest]
- messages +folder
-
- These messages can be un-digestified :-) by the MH burst(1) program.
- --Jerry Peek <jerry@ora.com> and Bill Wohler
-
- See also MH book sections 6.8, 7.9.
-
-
- Subject: Can I run my message through a program (ie. ispell) before sending?
- From: Using MH-30
-
- It's pretty simple. If your speller is called myspell, use:
-
- What now? edit myspell
-
- MH will actually execute:
-
- myspell /your-mail-draft-directory/draftfile
-
- and give the entire draft message to your speller. The header will
- probably be "misspelled," of course, though you might be able to
- tell the speller to ignore it--or you could hack up a little shell
- script to run the speller on just the message body, then tack the
- corrected body back onto the header before sending.
-
- You can automate this some more. For example, if you want your
- speller to run after your first edit with "prompter" and also after
- you leave the "vi" editor, add these lines to your MH profile:
-
- prompter-next: myspell
- vi-next: myspell
-
- Then, at the "What now?" prompt:
-
- What now? e
-
- your speller will run. For more info, see the mh-profile(5) man
- page or section 6.2.1 of the MH book. --Jerry Peek <jerry@ora.com>
-
-
- Subject: Can I append MH messages to a GNU Emacs rmail BABYL-format file?
- From: Using MH-31
-
- To convert your MH folders to BABYL folders, first run the following script
- on your Mail directory.
-
- #!/bin/sh
-
- for f in Mail/*; do
- if [ -d $f ]; then
- touch msgbox
- folder=`basename $f`
- echo -n packing $folder ...
- packf +$folder
- echo done
- mv msgbox Mail-rmail/$folder
- fi
- done
-
- This assumes you don't have nested folders. Your rmail folders will be
- left in $HOME/Mail-rmail in MMDF format which rmail can read. Then run
- rmail-input for each folder, which converts each folder into BABYL format.
-
- Be sure not to append any messages before they are converted from MMDF
- to BABYL, since there may be really strange results.
-
-
- Subject: Is there documentation for mh-e?
- From: Using MH-32
-
- Yes, sort of. Run "C-h m" (describe-mode) in both scan and
- letter modes to see which commands and variables are available.
- Browsing the code is also helpful.
-
-
- Subject: ! How can I change my return address?
- From: Using MH-33
-
- If you find that your mailer creates a From header that others have
- trouble replying to, you can add a Reply-To header to override the
- From header in replies.
-
- Copy the components and replcomps files which are normally found in
- /usr/local/lib/mh into your Mail directory and add a line like the
- following after the Subject header replacing my address with your
- address:
-
- Reply-To: wohler@sap-ag.de
-
- [12.92]
-
- Subject: + How can I change my From header?
- From: Using MH-34
-
- If you're just interested in changing the hostname, add a line to
- $LIB/mtstailor:
-
- localname: desired_host_name
-
- --Bill Wisner <wisner@netcom.com> [12.92]
-
- Just put a "From:" header in your "components", "replcomps" and
- "forwcomps" files. MH will add a "Sender:" header with what it thinks
- is your real address, but (almost) no one cares about the "Sender:"
- header anyway. --Jerry Peek <jerry@ora.com> [12.92]
-
-
- Subject: How can I get xmh to use Emacs as the editor?
- From: Xmh-40
-
- The modifications to xmh to support an external editor, annotations,
- and an append command can be found in the these places. --Bob
- Ellison <ellison@sei.cmu.edu>
-
- export.lcs.mit.edu R5fixes/xmh.editor/*
- ftp.sei.cmu.edu pub/xmh
-
- As of R5, xmh has a new action proc called XmhShellCommand. A
- string parameter will be executed as a shell command with the
- currently selected messages as parameters (or the current message if
- there are no selected messages).
-
- Using this new action, a couple of shell scripts, a window version
- of emacs (e.g. xemacs) and some elisp code, xmh can use emacs as its
- editor instead of the built in Athena text widget editor. This
- doesn't require any source code changes to xmh. These are included
- in the appendix "Switching xmh's editor". --Andrew Wason
- <aw@bae.bellcore.com>
-
-
- Subject: Does xmh support subfolders?
- From: Xmh-41
-
- Yes. Create one by invoking "Create Folder" as usual, and enter
- something like: existing-folder/new-sub-folder. You can then access
- the subfolder by popping up a menu over the "existing-folder" button
- item. --Steve Malowany <malowany@cenparmi.concordia.ca>
-
- But:
-
- The R5 version of xmh does *not* handle nested sub-folders. If you
- create a folder as 'grab/some/bandwidth', xmh displays this
- foldername for the remainder of the session where it was created,
- BUT if you later re-run xmh, the folder is no longer visible to xmh.
- --John Cooper <jsc@saxon.Eng.Sun.COM>
-
- See also MH book section 15.6.2 (14.6.2).
-
-
- Subject: How do I precede included messages with ">" when replying in xmh?
- From: Xmh-42
-
- Include the following line in your ~/app-defaults/XMh file:
-
- Xmh*replyInsertFilter: "sed 's/^/> /'"
-
- --Len Makin <len@mel.dit.csiro.au>
-
- or,
-
- Xmh.ReplyInsertFilter: /usr/local/lib/mh/mhl -form repl.filter
-
- Using this means that you can chose to insert the original by use of
- the "Insert" button in the Draft message pane. See "How do I
- include messages in repl with or without ">"?" to find examples of
- repl.filter. --Andy Linton <andy.linton@comp.vuw.ac.nz>
-
- See also MH book sections 15.1.4 (14.1.4), 16.3.3 (15.2.3).
-
-
- Subject: Glossary
- From: Appendix
-
- MH Mail Handler
- POP3 Post Office Protocol, RFC 1225
- MMDF
- MIME Multipurpose Internet Mail Extensions
-
-
- Subject: Acknowledgements
- From: Appendix
-
- I'd like to thank the following people for providing ideas on the
- layout of this article:
-
- Joe Wells <jbw@bigbird.bu.edu> Richard M. Stallman <rms@gnu.ai.mit.edu>
- David Elliott <dce@smsc.sony.com> Tom Christiansen <tchrist@convex.com>
- Eugene N. Miya <eugene@nas.nasa.gov>
-
-
- We are also grateful to the individuals mentioned below and in the
- text of this document who have provided answers or other information
- to make this a better document. I regret that it is possible that
- some names have been accidently omitted. I would also like to thank
- all the readers of comp.mail.mh.
-
- Kim F. Storm <storm@texas.dk> Edward Vielmetti <emv@ox.com>
-
-
- Subject: Warranty
- From: Appendix
-
- [The following statement epitomizes the ridiculous state of affairs in
- our country (I'm an American) and can be ignored outside the US...]
-
- No Warranty: Because this article is provided free of charge as a
- service to comp.mail.mh readers, we provide absolutely no warranty, to
- the extent permitted by applicable state law. This article is
- provided "as is" without warranty of any kind, either expressed or
- implied, including, but not limited to, the implied warranties of
- merchantability and fitness for a particular purpose. Should the
- information prove defective, you assume the cost of all necessary
- servicing, repair or correction.
-
-
- Subject: Switching xmh's editor
- From: Appendix
-
- #! /bin/sh
- # This is a shell archive. Remove anything before this line, then unpack
- # it by saving it into a file and typing "sh file". To overwrite existing
- # files, type "sh file -c". You can also feed this as standard input via
- # unshar, or by typing "sh <file", e.g.. If this archive is complete, you
- # will see the following message at the end:
- # "End of shell archive."
- # Contents: README Xmh.ad xmh-command.el xmhcommand xmhemacs
- # Wrapped by aw@jello on Fri Nov 15 17:10:34 1991
- PATH=/bin:/usr/bin:/usr/ucb ; export PATH
- if test -f 'README' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'README'\"
- else
- echo shar: Extracting \"'README'\" \(1269 characters\)
- sed "s/^X//" >'README' <<'END_OF_FILE'
- XThis is a short description of what to do with each of the enclosed files.
- X
- XXmh.ad
- X Merge this in with your xmh resources. If you already have
- X user defined buttons, then you may need to renumber the
- X buttons in this resource file.
- X
- Xxmh-command.el
- X Byte compile this file and put it in your GNU emacs load-path.
- X
- Xxmhcommand
- Xxmhemacs
- X Put these somewhere in your path.
- X
- X
- XOnce you have installed these, restart the R5 xmh with the new
- Xresources. When you press the repl, forw or comp buttons
- Xan xemacs window will come up with your draft message.
-